Action hook 'media_upload_{$tab}'

in WP Core File wp-admin/media-upload.php at line 117

Description

Fires inside limited and specific upload-tab views in the legacy (pre-3.5.0) media popup. The dynamic portion of the hook name, `$tab`, refers to the specific media upload tab. Possible values include 'library' (Media Library), or any custom tab registered via the {@see 'media_upload_tabs'} filter.

Occurrences

Filename Line Number
wp-admin/media-upload.php 117

PHP Doc

/**
	 * Fires inside limited and specific upload-tab views in the legacy
	 * (pre-3.5.0) media popup.
	 *
	 * The dynamic portion of the hook name, `$tab`, refers to the specific
	 * media upload tab. Possible values include 'library' (Media Library),
	 * or any custom tab registered via the {@see 'media_upload_tabs'} filter.
	 *
	 * @since 2.5.0
	 */